<%@ taglib prefix="s" uri="/struts-tags" %>
<%--
  Created by IntelliJ IDEA.
  User: L先森
  Date: 2014/12/22
  Time: 17:38
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-1.10.2.js"></script>
    <link rel='stylesheet' type='text/css' href='${pageContext.request.contextPath}/dist/css/bootstrap.css'>
    <link rel='stylesheet' type='text/css' href='${pageContext.request.contextPath}/css/style.css'>
    <link rel="stylesheet" href="../css/nivo-slider.css" type="text/css" media="screen" />
    <link rel="stylesheet" href="../css/light/light.css" type="text/css" media="screen" />
    <link href="../dist/css/bootstrap.css" rel="stylesheet">
    <link href="../css/style.css" rel="stylesheet">
    <script src="../js/jquery-1.10.2.js"></script>
    <script src="../dist/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="../js/jquery.nivo.slider.pack.js"></script>
<%--<head>--%>
    <%----%>
<%--</head>--%>
<nav style="margin-top:15px;" class="navbar  navbar-right navbar-right navbar-fixed-top" role="navigation" >
    <div  class=" navbar-header floatLeft nav">
        <a class="navbar-brand " href="index.jsp">体育馆管理系统</a>
    </div>
    <div class="inner">
        <s:if test="%{#session.user!=null}">
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:silver">欢迎&nbsp;<s:property value="%{#session.user.name}"></s:property>&nbsp;登陆本站</span>&nbsp;&nbsp;&nbsp;&nbsp;<a href="${pageContext.request.contextPath}/jsp/home/personal.jsp" style="text-decoration: underline">进入个人中心</a>
            <a id="Leave" href="/user/loginOut.do">[注销]</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        </s:if>
        <s:if test="%{#session.user==null}">
        <div class="floatRight">
            <a id="login" href="${pageContext.request.contextPath}/front/login.jsp">[登陆]</a>&nbsp;&nbsp;&nbsp;
            <a id="Register" href="${pageContext.request.contextPath}/front/Register.jsp">[注册]</a>&nbsp;&nbsp;&nbsp;
            </s:if>
        </div>
    </div>
    <div class="floatRight nav" style="margin-bottom: 100">
        <!-- <div class="nav nav-pills nav-justified" style="margin-bottom: 100">-->
        <ul class="nav navbar-nav">
            <li class="active"><a href="#">主页</a></li>
            <li><a href="#">器材</a></li>
            <li><a href="${pageContext.request.contextPath}/front/equipment.jsp">场地</a></li>
            <li><a href="#">比赛</a></li>
            <li><a href="#">精彩瞬间</a></li>
            <!--<li class="dropdown">3A322F
                <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                    Java <b class="caret"></b>
                </a>
                <ul class="dropdown-menu">
                    <li><a href="#">我们这一班</a></li>
                    <li><a href="#">时光机</a></li>
                    <li><a href="#">家人</a></li>
                    <li class="divider"></li>
                    <li><a href="#">分离的链接</a></li>
                    <li class="divider"></li>
                    <li><a href="#">另一个分离的链接</a></li>
                </ul>
            </li>-->
        </ul>
    </div>
</nav>
